<?xml version="1.0" encoding="utf-8"?>
<Content xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:blueonionsoftware-com:bloget:runtime:data">
  <text>&lt;p&gt;by Chris O'Donnell&lt;/p&gt;
&lt;p&gt;This constant can be ORed to the uiFlags input to SetWindowPos():&lt;/p&gt;
&lt;p&gt;SWP_ASYNCWINDOWPOS&lt;/p&gt;
&lt;p&gt;This allows other threads to call SetWindowPos() even if the UI is waiting on a synchronization object (i.e. the UI thread is not pumping messages).&lt;/p&gt;

&lt;p&gt;If you don't use this bitflag and the calling thread already has claimed the synchronization object, then you get a deadlock.  In this case, SetWindowPos behaves like SendMessage();&lt;/p&gt;

&lt;p&gt;With this bitflag, the calling thread does not wait for SetWindowPos to complete (which depends on the UI thread being able to handle messages).  In this case, SetWindowPos() behaves like PostMessage().&lt;/p&gt;
&lt;img src ="http://flounder_aaeng/blogs/devnotes/aggbug/248.aspx" width = "1" height = "1" /&gt;</text>
  <last_update>2007-10-04T00:51:49.4920806Z</last_update>
  <source_title />
  <source_link />
  <comments />
  <references />
  <attachments />
</Content>